package com.xyu.gulimall.ware.dao;

import com.xyu.gulimall.ware.entity.PurchaseDetailEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xyu.gulimall.ware.entity.PurchaseEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 *
 * @author wangyufei
 * @email 2070522113@qq.com
 * @date 2021-05-20 10:20:05
 */
@Mapper
public interface PurchaseDetailDao extends BaseMapper<PurchaseDetailEntity> {

    int updateReceived(List<PurchaseEntity> receives);

    int updateDone(List<PurchaseDetailEntity> dones);

    List<PurchaseDetailEntity> SelectBatch(List<PurchaseDetailEntity> collects);
}
